def call() {
    def keys = [
        "APP_GIT_URL",
        // "CREDENTIAL_ID",
        "DEPLOY_APP",
        "DEPLOY_HOST",
        "BUILD_CMD",
        "BUILD_ARTIFACT",
        "DEPLOY_TAGS",
        "BRANCH"
    ]

    echo "====== 应用环境变量 ======"
    keys.each { k ->
        echo "${k} = ${env[k] ?: '(未定义)'}"
    }
    echo "========================="
}
